package com.pai4j.pgc.dao;

import com.pai4j.pgc.entity.OpenApiResponseFieldEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OpenApiResponseFieldRepository extends JpaRepository<OpenApiResponseFieldEntity, Long> {
    List<OpenApiResponseFieldEntity> findByOpenapiIdOrderBySortNoAscIdAsc(Long openapiId);
    void deleteByOpenapiId(Long openapiId);
}
